package com.ruicar.afs.cloud.afscase.infomanagement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruicar.afs.cloud.afscase.infomanagement.entity.CaseContractInfo;
import com.ruicar.afs.cloud.afscase.loanapprove.task.condition.LoanApproveTaskCondition;
import com.ruicar.afs.cloud.afscase.loanapprove.task.vo.LoanApproveTaskVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>Description: </p>
 *
 * @author fcl
 * @version 1.0
 * @date create on 2020-05-25 18:14
 */
public interface CaseContractInfoMapper extends BaseMapper<CaseContractInfo> {
    /**
     * @param
     * @description 根据合同编号获取合同信息
     * @author rj.Zhang
     * @date 2020/7/2
     */
    CaseContractInfo getContractByContractNo(String contractNo);

    /**
     *超期合同查询
     * @param dealerNo
     * @return
     */
    List<CaseContractInfo> getOverdueContractByChannel(@Param("dealerNo") String dealerNo);


    /**
     *超期合同查询
     * @param dealerNo
     * @return
     */
    List<String> getContractNoFromChannel(@Param("dealerNo") String dealerNo);

}
